package com.service.bean.alarm;

import java.util.Date;

import com.service.tools.DateFormat;

/**
 * 作业遍数报表统计对象, 对应着每一条路段
 * @author lj
 *
 */
public class WorkTimes {
	/**
	 * 车辆Id
	 */
	public String equipmentId;
	/**
	 * 区域Id
	 */
	public String areaId;
	/**
	 * 路段Id
	 */
	public String roadId;
	/**
	 * 生成日期 (年月日)
	 */
	public Date reportDate;
	/**
	 * 规定作业回数
	 */
	public int planJobTime;
	/**
	 * 实际作业回数
	 */
	public int actualJobTime;
	
	public Object[] getAll() {
		Object[] arrs = new Object[6];
		arrs[0] = "'" + equipmentId + "'";
		arrs[1] = "'" + areaId + "'";
		arrs[2] = "'" + roadId + "'";
		arrs[3] = "'" + DateFormat.format(reportDate) + "'";
		arrs[4] = planJobTime;
		arrs[5] = actualJobTime;
		return arrs;
	}
	
}
